package com.situ.day8homework4;

public  class Xuesheng extends Ren {
	 String xuexiao;
	 String xuehao;
	

	public String getXuexiao() {
		return xuexiao;
	}

	public void setXuexiao(String xuexiao) {
		this.xuexiao = xuexiao;
	}

	public String getXuehao() {
		return xuehao;
	}

	public void setXuehao(String xuehao) {
		this.xuehao = xuehao;
	}

	
	@Override
	public String toString() {
		return "xuesheng [name=" + name + ", xingbie=" + xingbie + ", age=" + age + ", guoji=" + guoji + ", xuexiao=" + xuexiao + ", xuehao=" + xuehao + "]" ;             
	}

	@Override
	public void shifan() {
		System.out.println("Xuesheng.shifan()");
	}

	@Override
	public void shuijiao() {
		System.out.println("Xuesheng.shuijiao()");
	}

	@Override
	public void gongzuo() {
		System.out.println("Xuesheng.xuexi()");
	}
	
}
